{extend name="./template/default/pc/pub/base.html" /}
{block name="seo"}
<title>{$site_name}-小说搜索</title>
<meta name="description" content="您正在搜索-{$site_name}">
{/block}
{block name="main"}
<div class="body-bg">
    <div class="wrap">
        <div class="block20"></div>
        <div class="wrap1200 ranklist">
            <div class="right-cont-box fl rankdata">
                <div class="comment-r-menu">
                    <span class="titmenu">搜索结果</span>
                </div>
                <div class="rankdatacont search">
                    {raccoon:books name="books" order="lastupdate desc" limit="20" where="articlename like '%$keyword%'"}
                    <div class="secd-rank-list">
                        <dl>
                            <dt>
                                <a href="/{$book_ctrl}/{$vo.param}/" target="_blank">
                                    <img src="https://p.pstatp.com/origin/ffa400036691f82c85e5" class="lazyimg"
                                         data-original="{$vo.cover}" style="display: block;">
                                </a>
                            </dt>
                            <dd>
                                <a href="/{$book_ctrl}/{$vo.param}/" class="bigpic-book-name" target="_blank">
                                    {$vo.articlename}
                                </a>
                                <p>
                                    <a>{$vo.author}</a>
                                    |
                                    <a href="/{$booklist_act}?sortid={$vo.sortid}" target="_blank">{$vo.cate.cate_name}</a>
                                    | {$vo.fullflag == 1 ? '已完结' : '连载中'}
                                    <span class="clicknum"> <em>{$vo.words}字</em></span>
                                </p>
                                <p class="big-book-info">
                                    {$vo.intro}
                                </p>
                                <p>
                                    <a href="/{$chapter_ctrl}/{$vo.last_chapter_id}/" target="_blank" class="red">
                                        最近更新 {$vo.lastchapter}
                                    </a>
                                    <span>| {$vo.lastupdate|date='Y-m-d'}更新</span>
                                </p>
                            </dd>
                        </dl>
                        <div class="bigbtn">
                            <a href="/{$book_ctrl}/{$vo.param}/" class="detailbtn" target="_blank">书籍详情</a>
                        </div>
                    </div>
                    {/raccoon:books}
                </div>
            </div>
        </div>
    </div>
</div>
{/block}